import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
//列表数据
export const columns: BasicColumn[] = [
    {
    title: '人员类型',
    align:"center",
    dataIndex: 'workTypeId_dictText'
   },
   {
    title: '最大天数',
    align:"center",
    dataIndex: 'maxDays'
   },
   {
    title: '补助金额（元/小时）',
    align:"center",
    dataIndex: 'subsidy'
   },
];
//查询数据
export const searchFormSchema: FormSchema[] = [
];
//表单数据
export const formSchema: FormSchema[] = [
  {
    label: '人员类型',
    field: 'workTypeId',
    component: 'JDictSelectTag',
    componentProps:{
        dictCode:"worker_type"
     },
  },
  {
    label: '最大天数',
    field: 'maxDays',
    component: 'InputNumber',
  },
  {
    label: '补助金额（元/小时）',
    field: 'subsidy',
    component: 'InputNumber',
  },
];
